home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
051-075
/
scopedisk53
/
memmometer
/
mm.doc
< prev
next >
Wrap
Text File
|
1995-03-18
|
4KB
|
74 lines
/* : ai=0 bk=0 ts=8 */
/*
* MemMometer - program hacked from Rokicki's WFrags more or less...
* (in fact, a heck of a lot) in the style of Peter DaSilva's "Gauge."
* The program opens a narrow window with the same dimensions as the
* disk capacity gadget found in the top-level workbench window for
* a floppy volume. The sizing gadget is like the one in Gauge; to
* resize the window, just click the left mouse button over the "E".
* My bin copy of Gauge broke when I put a Michigan Insider in my A1000.
* I did not have source for the Gauge program, so I conjured this one.
*
* Note that in the display there's one memmometer for Chip (left-hand
* column ), another for Slow Fast mem (center column) and another for
* Fast mem (right-hand column ). These memmometers can be turned on or
* off as desired by selecting "NONE" or the various items in the Size
* menus. Parts of several FD programs have been used to make MemMometer.
* Menus, for instance, are a la VT100 (Wecker, et al). As with the
* VT100 program, MemMometer has preset variables. However, the program
* does not presently contain a script file reader or an AREXX interface
* with which to automatically set the variables. Maybe this will
* happen in a future rev (volunteers?).
*
* FRAGS mode:
* The 'mometers display a frequently-updated window indicating the extent
* of memory fragmentation and free memory, thus showing the sizes of the
* largest available chunks. Black is unallocated, blue is partially
* framented, red-orange is fully allocated. It takes a while after
* startup to settle out and display the upper fast mem, so be patient...
* It's useful for finding out why those large programs won't load. Also
* useful during development to see what impact your application is having
* on memory fragmentation.
*
* WARPS mode:
* The 'mometer displays any change that it sees in memory, BUT this mode
* only works sensibly when JUST ONE memory size selection is active (set
* others to "NONE"). Black areas are unchanged sections of memory, blue
* areas are sections with zeroed long words in them, and red-orange areas
* are sections containing recently changed long words. Given that you
* may have two areas of memory active in the compare, though, it is
* possible to set it up (by careful planning w.r.t. the ways of AmigaDOS
* memory management) so that something double buffered between CHIP and
* RAM can be compared using this "mis-feature." If you can load an area,
* say, at a selectable boundary in RAM and its counterpart at the 256K
* boundary in CHIP, (or similarly juggled arrangements in slow-fast and
* fast RAM) you can use WARPS to judge the extent of differences between
* two or perhaps even three similar fields.
*
* To run, simply type
*
* run MM3 or click on the icon.
*
* Then open the menu item selections and set them for your configuration.
* Frags mode, 512K of CHIP @0, 0.5Meg of SF @C00000, and 2MB FAST mem are
* the defaults. Timing (Freq) is rather ragged, sorry about that...
*
* That's all! Enjoy this program. Forget about the bugs. :-) mm3 uses
* Amy's Forbid, Permit, and the notorious v1.2 Delay function - so you'll
* probably get a track 40 error some day when you expect it least (I did).
* It's good discipline for remembering to make backups... ::--))
*
* The source to mm3 is freely distributable; the copy of Rokiki's WFrags
* I was working with had no copyright or distribution restrictions, and
* Wecker's VT100 is known to be in the public domain. I add no further
* restrictions to, nor accept any responsibilities for the use of the
* codes herein, which are recommended for entertainment purposes only.
* So get out your Manx 3.6a compiler and fix the bugs yourself, then
* compile and link as described in the makefile.
* Good Luck.
*
* Howard Hull (The C Barbarian)* hull@hao.ucar.edu
*
* *( A matter of primitive language, not piracy...)
*/